package com.charm.xft.bill.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class InvoiceCloudCertificatesBean implements Serializable {
    /**
     * buyerName : 个人
     * buyerCode :
     * buyerAdrPhone :
     * buyerBankAndAcc :
     * invoiceCheckStatus : A
     * invoiceStatus : B
     * invoiceCode : 011002200811
     * invoiceDate : 2022-12-11
     * invoiceNumber : 07519825
     * invoiceType : 2
     * storeType : 1
     * storeUrl : http://s3ecs.itcenter.cmbchina.cn:9020/lj04_00_BUR2018.10/011002200811/07519825?AWSAccessKeyId=lj04_user6&Expires=4833332872&Signature=M7KpIL64hqaQFOXJhXCOy3%2F661s%3D&response-content-disposition=attachment%3Bfilename%3D07519825.pdf
     * sellerName : 北京京东世纪信息技术有限公司
     * sellerCode : 91110302562134916R
     * invoiceAmount : 499
     * invoiceCheckResult : T
     * goodsNames : []
     * invoiceDetailList : [{"invoiceDetailSeqId":907767,"godSeq":0,"taxName":"","certificateSeqId":"2-011002200811-07519825","goodsName":"*预付卡销售*京东E卡","godNum":1,"taxRate":0,"ptxAmt":499,"ptnAmt":499,"taxAmt":0}]
     * selectedInvoiceDetailArray : [{"invoiceDetailSeqId":2541611,"billBodySeqId":2292386,"billId":2023030101772167,"godSeq":0,"taxName":"","certificateSeqId":"2-011002200811-07519825","goodsName":"*预付卡销售*京东E卡","godNum":1,"taxRate":0,"ptxAmt":499,"ptnAmt":499,"taxAmt":0}]
     * holderSeqId : 2649588
     * verifySts : 0
     * tatAmt : 0
     * excludTaxAmt : 499
     * sysFlg : WCT
     * ocrErr :
     * vldNbr : 53285418344132308541
     * csmTyp : 5
     * triPrk :
     * bndTyp :
     * csuTyp :
     * ivcRgn :
     * deduct : 0
     * deductByException : 0
     * uploadDate : 2023-03-01
     * remark : 订单号:257948164580
     * itineraryId :
     * checkResult : {"taxCheckResult":"0","sealCheckResult":"0","buyerCheckResult":"0","bankCheckResult":"0"}
     * uniqueId : 2-011002200811-07519825
     * amount : 499
     * type : INVOICE_CLOUD
     */



    private static final long serialVersionUID = 1L;

    @ApiModelProperty("总金额")
    private BigDecimal amount;

    @ApiModelProperty("购方税号")
    private String buyerCode;

    @ApiModelProperty("购文名称")
    private String buyerName;

    @ApiModelProperty("商品名称集合")
    private String goodsNames;

    @ApiModelProperty("价税合计")
    private BigDecimal invoiceAmount;

    @ApiModelProperty("查验结果")
    private String invoiceCheckResult;

    @ApiModelProperty("发票查验状态")
    private String invoiceCheckStatus;

    @ApiModelProperty("发票代码")
    private String invoiceCode;

    @ApiModelProperty("开票日期")
    private String invoiceDate;

    @ApiModelProperty("发票号码")
    private String invoiceNumber;

    @ApiModelProperty("发票状态")
    private String invoiceStatus;

    @ApiModelProperty("发票种类")
    private String invoiceType;

    @ApiModelProperty("销方税号")
    private String sellerCode;

    @ApiModelProperty("销方名称")
    private String sellerName;

    @ApiModelProperty("存储格式")
    private String storeType;

    @ApiModelProperty("存储地址")
    private String storeUrl;

    @ApiModelProperty("始发站1(飞机行程单专用)")
    private String trafficAirFromFirst;

    @ApiModelProperty("始发站2(飞机行程单专用)")
    private String trafficAirFromSecond;

    @ApiModelProperty("终点站1(飞机行程单专用)")
    private String trafficAirToFirst;

    @ApiModelProperty("终点站2(飞机行程单专用)")
    private String trafficAirToSecond;

    @ApiModelProperty("总价合计（火车票面价格、飞机行程单总价；网约车每条行程的价格）")
    private BigDecimal trafficAmount;

    @ApiModelProperty("号码(车次号、航班号、出租车车牌)")
    private String trafficCode;

    @ApiModelProperty("里程（出租车里程距离，单位公里）")
    private String trafficDistance;

    @ApiModelProperty("电子票号（飞机票，电子客票号码；火车/高铁，红字票号）")
    private String trafficEcode;

    @ApiModelProperty("到达日期（出租车使用）")
    private String trafficEndDate;

    @ApiModelProperty("到达时间（出租车使用）")
    private String trafficEndTime;

    @ApiModelProperty("单据ID")
    private String billId;



    private String buyerAdrPhone;
    private String buyerBankAndAcc;
    private int holderSeqId;
    private String verifySts;
    private int tatAmt;
    private int excludTaxAmt;
    private String sysFlg;
    private String ocrErr;
    private String vldNbr;
    private String csmTyp;
    private String triPrk;
    private String bndTyp;
    private String csuTyp;
    private String ivcRgn;
    private String deduct;
    private String deductByException;
    private String uploadDate;
    private String remark;
    private String itineraryId;
    private CheckResultBean checkResult;
    private String uniqueId;
    private String type;
    private List<XftBillInvoiceItem> invoiceDetailList;
    private List<SelectedInvoiceDetailArrayBean> selectedInvoiceDetailArray;
}
